Skip to main content

Add an attribute value to elements

ADD_ATTRIBUTE_VALUE_CSS

Adds an attribute value to the elements matching the CSS selector.

Parameters

  • css (String): The CSS selector.
  • attribute (String): The name of the attribute, e.g. class
  • value (String): The value of the attribute, e.g. myClass
  • topicText (String): Use $TOPIC_XHTML
  • trackChanges (String): true/false

Returns

The Flare topic XHTML